package com.ruoyi.admin.train.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.train.domain.TrainPlan;
import org.apache.ibatis.annotations.Mapper;

/**
 * 培训计划Mapper接口
 * 
 * @author wusihao
 * @date 2023-03-18
 */
@Mapper
public interface adminTrainPlanMapper extends BaseMapper<TrainPlan>
{
    /**
     * 查询培训计划
     * 
     * @param id 培训计划主键
     * @return 培训计划
     */
    public TrainPlan selectadminTrainPlanById(Long id);

    /**
     * 查询培训计划列表
     * 
     * @param adminTrainPlan 培训计划
     * @return 培训计划集合
     */
    public List<TrainPlan> selectadminTrainPlanList(TrainPlan adminTrainPlan);



    /**
     * 修改培训计划
     * 
     * @param adminTrainPlan 培训计划
     * @return 结果
     */
    public int updateadminTrainPlan(TrainPlan adminTrainPlan);


}
